package com.yvon.maple.service.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author : Yvon
 * @since : 2021-09-27
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("用户角色请求参数")
public class UserRoleDTO extends RoleDTO implements Serializable {


    /**
     * 用户名
     */
    @ApiModelProperty(name = "username", value = "用户名")
    private String username;


    /**
     * 用户ID
     */
    @ApiModelProperty(name = "userId", value = "用户ID")
    private Long userId;

}
